﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200033D RID: 829
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CommonRogueQueryScRsp : IMessage<CommonRogueQueryScRsp>, IMessage, IEquatable<CommonRogueQueryScRsp>, IDeepCloneable<CommonRogueQueryScRsp>, IBufferMessage
	{
		// Token: 0x17000AC7 RID: 2759
		// (get) Token: 0x0600253F RID: 9535 RVA: 0x00068E6B File Offset: 0x0006706B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CommonRogueQueryScRsp> Parser
		{
			get
			{
				return CommonRogueQueryScRsp._parser;
			}
		}

		// Token: 0x17000AC8 RID: 2760
		// (get) Token: 0x06002540 RID: 9536 RVA: 0x00068E72 File Offset: 0x00067072
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CommonRogueQueryScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000AC9 RID: 2761
		// (get) Token: 0x06002541 RID: 9537 RVA: 0x00068E84 File Offset: 0x00067084
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CommonRogueQueryScRsp.Descriptor;
			}
		}

		// Token: 0x06002542 RID: 9538 RVA: 0x00068E8B File Offset: 0x0006708B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CommonRogueQueryScRsp()
		{
		}

		// Token: 0x06002543 RID: 9539 RVA: 0x00068E94 File Offset: 0x00067094
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CommonRogueQueryScRsp(CommonRogueQueryScRsp other) : this()
		{
			this.rogueGetInfo_ = ((other.rogueGetInfo_ != null) ? other.rogueGetInfo_.Clone() : null);
			this.gGCGPNABJGA_ = other.gGCGPNABJGA_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002544 RID: 9540 RVA: 0x00068EEC File Offset: 0x000670EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CommonRogueQueryScRsp Clone()
		{
			return new CommonRogueQueryScRsp(this);
		}

		// Token: 0x17000ACA RID: 2762
		// (get) Token: 0x06002545 RID: 9541 RVA: 0x00068EF4 File Offset: 0x000670F4
		// (set) Token: 0x06002546 RID: 9542 RVA: 0x00068EFC File Offset: 0x000670FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public OINKPDBJJOE RogueGetInfo
		{
			get
			{
				return this.rogueGetInfo_;
			}
			set
			{
				this.rogueGetInfo_ = value;
			}
		}

		// Token: 0x17000ACB RID: 2763
		// (get) Token: 0x06002547 RID: 9543 RVA: 0x00068F05 File Offset: 0x00067105
		// (set) Token: 0x06002548 RID: 9544 RVA: 0x00068F0D File Offset: 0x0006710D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GGCGPNABJGA
		{
			get
			{
				return this.gGCGPNABJGA_;
			}
			set
			{
				this.gGCGPNABJGA_ = value;
			}
		}

		// Token: 0x17000ACC RID: 2764
		// (get) Token: 0x06002549 RID: 9545 RVA: 0x00068F16 File Offset: 0x00067116
		// (set) Token: 0x0600254A RID: 9546 RVA: 0x00068F1E File Offset: 0x0006711E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600254B RID: 9547 RVA: 0x00068F27 File Offset: 0x00067127
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CommonRogueQueryScRsp);
		}

		// Token: 0x0600254C RID: 9548 RVA: 0x00068F38 File Offset: 0x00067138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CommonRogueQueryScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.RogueGetInfo, other.RogueGetInfo) && this.GGCGPNABJGA == other.GGCGPNABJGA && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600254D RID: 9549 RVA: 0x00068F98 File Offset: 0x00067198
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.rogueGetInfo_ != null)
			{
				num ^= this.RogueGetInfo.GetHashCode();
			}
			if (this.GGCGPNABJGA != 0U)
			{
				num ^= this.GGCGPNABJGA.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600254E RID: 9550 RVA: 0x00069006 File Offset: 0x00067206
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600254F RID: 9551 RVA: 0x0006900E File Offset: 0x0006720E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06002550 RID: 9552 RVA: 0x00069018 File Offset: 0x00067218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.rogueGetInfo_ != null)
			{
				output.WriteRawTag(10);
				output.WriteMessage(this.RogueGetInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.GGCGPNABJGA != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.GGCGPNABJGA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06002551 RID: 9553 RVA: 0x00069090 File Offset: 0x00067290
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.rogueGetInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueGetInfo);
			}
			if (this.GGCGPNABJGA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GGCGPNABJGA);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06002552 RID: 9554 RVA: 0x00069100 File Offset: 0x00067300
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CommonRogueQueryScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.rogueGetInfo_ != null)
			{
				if (this.rogueGetInfo_ == null)
				{
					this.RogueGetInfo = new OINKPDBJJOE();
				}
				this.RogueGetInfo.MergeFrom(other.RogueGetInfo);
			}
			if (other.GGCGPNABJGA != 0U)
			{
				this.GGCGPNABJGA = other.GGCGPNABJGA;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002553 RID: 9555 RVA: 0x0006917C File Offset: 0x0006737C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002554 RID: 9556 RVA: 0x00069188 File Offset: 0x00067388
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 16U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.GGCGPNABJGA = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.rogueGetInfo_ == null)
					{
						this.RogueGetInfo = new OINKPDBJJOE();
					}
					input.ReadMessage(this.RogueGetInfo);
				}
			}
		}

		// Token: 0x04000F09 RID: 3849
		private static readonly MessageParser<CommonRogueQueryScRsp> _parser = new MessageParser<CommonRogueQueryScRsp>(() => new CommonRogueQueryScRsp());

		// Token: 0x04000F0A RID: 3850
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000F0B RID: 3851
		public const int RogueGetInfoFieldNumber = 1;

		// Token: 0x04000F0C RID: 3852
		private OINKPDBJJOE rogueGetInfo_;

		// Token: 0x04000F0D RID: 3853
		public const int GGCGPNABJGAFieldNumber = 14;

		// Token: 0x04000F0E RID: 3854
		private uint gGCGPNABJGA_;

		// Token: 0x04000F0F RID: 3855
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04000F10 RID: 3856
		private uint retcode_;
	}
}
